package constants;

import utils.TimeUtils;

public final class Constants {
	
	public static final int MAX_VIEWS_PER_MONTH = 42;

	public static final String[] arr1 = { "area1", "area2", "area3" };
	public static final String[] arr2 = { "holder1", "holder2", "holder3" };
	public static final String[] arr3 = { "price1-60", "price2-20" };

	public static final Integer[] years = getYears();

	public static final Integer[] months = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
			12 };

	public static final String[] moments = { "黎明", "清晨", "上午", "中午", "午后",
			"下午", "黄昏", "晚间", "夜晚", "午夜", "深夜", "凌晨" };

	private static Integer[] getYears() {
		int currentYear = TimeUtils.getCurrentYear();
		Integer[] years = new Integer[6];
		int i = 0;
		while (i < 6) {
			years[i] = currentYear;
			currentYear++;
			i++;
		}
		return years;
	}
}
